package com.hndfsj.framework.utils;

import com.hndfsj.framework.utils.ResourceUtils;

/**
 * Web层信息管理类
 *
 * @author ibm
 * @date   Jun 8, 2010
 * @Editor Mr.Hao
 * @date 2013年1月8日
 */
public class MessageUtils {
	
	public static final String ADD_SUCCESS=ResourceUtils.getString("add_success");//数据添加成功
	public static final String ADD_FAIL=ResourceUtils.getString("add_fail");//数据添加失败
	
	public static final String EDIT_SUCCESS=ResourceUtils.getString("edit_success");//数据修改成功
	public static final String EDIT_WARING=ResourceUtils.getString("edit_warning");//数据修改异常

	public static final String DELETE_SUCCESS=ResourceUtils.getString("delete_success");//数据删除成功
	public static final String DELETE_WARNING=ResourceUtils.getString("delete_warning");//数据删除警告
	public static final String DELETE_ALL_WARNING=ResourceUtils.getString("delete_all_waring");//批量数据删除警告
	public static final String DELETE_ALL_FAIL=ResourceUtils.getString("delete_all_fail");//批量数据删除失败
	public static final String DELETE_ALL_SUCCESS=ResourceUtils.getString("delete_all_success");//批量数据删除成功
	
	public static final String RESET_PASSWORD_SUCCESS=ResourceUtils.getString("reset_password_success");//密码重置成功	

	public static final String ROLE_ASSIGN_SUCCESS=ResourceUtils.getString("role_assign_success");//角色分配成功
	
	public static final String ROLE_ASSIGN_MANAGER_ISEXIST=ResourceUtils.getString("role_assign_manager_isexist");//主管角色已经存在

	public static final String RESOURCE_ASSIGN_SUCCESS=ResourceUtils.getString("resource_assign_success");//资源分配成功
	
	public static final String PASSWORD_ERROR=ResourceUtils.getString("password_error");//旧密码输入错误

	public static final String PASSWORD_EDIT_SUCCESS=ResourceUtils.getString("password_edit_success");//密码修改成功

	public static final String NOTICE_RELEASE_SUCCESS=ResourceUtils.getString("notice_release_success");//通知公告发布成功
	
	public static final String NOTICE_RELEASE_ERROR=ResourceUtils.getString("notice_release_error");//通知公告发布失败
	public static final String WELCOMEMESSAGE = ResourceUtils.getString("sms_welcome_message");//短信欢迎语
	
	//系统相关提示
	public static final String SERVER_BUSY = "服务器繁忙";
	
	//验证字段在数据库中是否存在
	public static String VALUE_ISEXIST="已存在";
	public static final String VALUE_NOTEXIST = "不存在";
	
	//用户操作错误类型提示
	public static final String OPERATING_PARAMETERS_ERROR = "参数非法";
	
	//用户注册提示信息
	public static final String USER_REALNAME_ISNOTNULL = "姓名不能为空";
	public static final String USER_REALNAME_ISNOTCHINE = "姓名必须为中文";
	//验证公共提示字段
	public static final String VALIDATE_IS_NOT_NULL = "不能为空";
	
	public static final String VALUE_ISNULL = "值是NULL";
	
}